package com.canbot.u05.bean.guide;


import java.util.ArrayList;
import java.util.List;

/**
 * Created by Administrator on 2017/5/21.
 */
public class MapTaskInfo {

        private Long _id;

        private Long mapId;

        private String taskName;

        List<MapPointInfo> mapPointInfos;

        @Override
        public String toString() {
                return "MapTaskInfo{" +
                        "_id=" + _id +
                        ", mapId=" + mapId +
                        ", taskName='" + taskName + '\'' +
                        ", mapPointInfos=" + mapPointInfos +
                        '}';
        }

        public MapTaskInfo() {
                mapPointInfos = new ArrayList<>();
        }

        public MapTaskInfo(Long mapId) {
                this.mapId = mapId;
        }

        public MapTaskInfo(Long _id, String taskName) {
                this._id = _id;
                this.taskName = taskName;
        }

        public MapTaskInfo(Long _id, Long mapId, String taskName) {
                this._id = _id;
                this.mapId = mapId;
                this.taskName = taskName;
        }

        public Long get_id() {
                return _id;
        }

        public void set_id(Long _id) {
                this._id = _id;
        }

        public Long getMapId() {
                return mapId;
        }

        public void setMapId(Long mapId) {
                this.mapId = mapId;
        }

        public String getTaskName() {
                return taskName;
        }

        public void setTaskName(String taskName) {
                this.taskName = taskName;
        }

        public List<MapPointInfo> getMapPointInfos() {
                if (mapPointInfos == null) {
                        mapPointInfos = new ArrayList<>();
                }
                return mapPointInfos;
        }

        public void setMapPointInfos(List<MapPointInfo> mapPointInfos) {
                this.mapPointInfos = mapPointInfos;
        }
}
